package com.qijian.system.domain.vo;


import com.qijian.common.annotation.Excel;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 组织对象 查询条件类
 *
 * @author qijian
 * @date 2022-02-21
 */

@Data
@ToString
@TableName("sys_organization")
public class OrganizationQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "name", type = WhereTypeEnum.LIKE)
    private String name;
    @WhereType(filed = "number", type = WhereTypeEnum.LIKE)
    private String number;
    @WhereType(filed = "status")
    private String status;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;

    @WhereType(filed = "contact_name", type = WhereTypeEnum.LIKE)
    private String contactName;

    @WhereType(filed = "legal_person", type = WhereTypeEnum.LIKE)
    @ApiModelProperty(value = "法人")
    private String legalPerson;

    @WhereType(filed = "company_address", type = WhereTypeEnum.LIKE)
    private String companyAddress;

    @WhereType(filed = "f_org_form", type = WhereTypeEnum.LIKE)
    private String fOrgForm;
}
